#if !defined(AFX_BCDOCTORWRITEPAGE_H__535BD4D8_FF6D_4789_93B7_15AE04A28D1E__INCLUDED_)
#define AFX_BCDOCTORWRITEPAGE_H__535BD4D8_FF6D_4789_93B7_15AE04A28D1E__INCLUDED_

#include "ScrollPage.h"
#include "../Common/LinkEdit.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BCDoctorWritePage.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// BCDoctorWritePage dialog

class CBCDoctorWritePage : public CScrollPage
{
// Construction
public:
	CBCDoctorWritePage(CWnd* pParent = NULL, BOOL bBigRes = TRUE);   // standard constructor

	enum { BODYCHECKSCALEID = 1 };
	enum { INPUT_EDIT_CTRL_COUNT = 1};

	virtual int		SaveData(CString strMRN, int nDiagSN, BOOL bIsDraft);
	virtual BOOL	ShowTableData(CString strMRN, int nDiagSN);
	virtual BOOL	ClearData();
	virtual BOOL	EnableInputControls(BOOL bEnable);
	virtual BOOL	IsPageCurDayBlank();
	
	BOOL			ShowTableDataWithStartCol(CString strMRN, int nDiagSN, int nStartCol);
	BOOL			SetLastColTitile(CString strDate, int nDiagSN);
	
// Dialog Data
	//{{AFX_DATA(BCDoctorWritePage)
	enum { IDD = IDD_BODYCHECK_PAGE_DOCTOR_WRITE, SD_IDD = IDD_BODYCHECK_PAGE_DOCTOR_WRITE_SD };
	CLinkEdit	m_edtDoctWrite;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(BCDoctorWritePage)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(BCDoctorWritePage)
	afx_msg void OnSize(UINT nType, int cx, int cy);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
		
private:
	INPUT_FIELD_INFO			m_InputFieldArray[INPUT_EDIT_CTRL_COUNT];
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_BCDOCTORWRITEPAGE_H__535BD4D8_FF6D_4789_93B7_15AE04A28D1E__INCLUDED_)
